package xrz.xuanbao.modular.paipaibao;

import java.util.List;

import org.xutils.view.annotation.ViewInject;

import com.xrz.sxm.base.activity.BaseAct;

import android.widget.ListView;
import xrz.cuanbao.R;
import xrz.cuanbao.adapters.Adapter_DengJi;
import xrz.cuanbao.entitys.PaipaiBaoActive;
import xrz.cuanbao.entitys.PaipaibaoRank;

public class Act_Paipaibao_detai_huibao extends BaseAct {

	@ViewInject(R.id.renrencuanitem_lv)
	private ListView Item_Lv;
	private Adapter_DengJi adapter;
	
	private List<PaipaibaoRank> ranks;
	private PaipaiBaoActive actives;
	@Override
	protected int setContentView() {
		return R.layout.layout_paipai_huibao;
	}

	@Override
	protected void initData() {
		ranks = (List<PaipaibaoRank>) getIntent().getSerializableExtra("ranks");
		actives = (PaipaiBaoActive) getIntent().getSerializableExtra("actives");
		adapter=new Adapter_DengJi(m_ctx, ranks, actives);
		Item_Lv.setAdapter(adapter);
	}

	@Override
	protected String setTitle() {
		return null;
	}
   
	@Override
	protected boolean topViewHide() {
		return true;
	}

}
